export default [
	{
		path: '/teacher',
		name: 'teacher',
		component: ()=>import('@/views/teacher/layout.vue'),
		meta: {
			noTransition: true,
		},
		redirect: {
			name: 'teacherProject'
		},
		children: [
			{
				path: '/teacher/project',
				name: 'teacherProject',
				meta: {
					title: '我的项目',
					keepAlive: true
				},
				redirect: {
					name: 'teacherProjectDevelopment'
				},
				component: () => import('@/views/teacher/project/index.vue'),
				children: [
					{
						path: '/teacher/project/development',
						name: 'teacherProjectDevelopment',
						meta: {
							title: '开发项目',
						},
						component: () => import('@/views/teacher/project/development.vue'),
					},
					{
						path: '/teacher/project/learn',
						name: 'teacherProjectLearn',
						meta: {
							title: '学习项目',
						},
						component: () => import('@/views/teacher/project/learn.vue'),
					},
				]
			},
			{
				path: '/teacher/clone',
				name: 'teacherClone',
				meta: {
					title: '我的分身',
				},
				component: () => import('@/views/teacher/clone.vue'),	
			},
			{
				path: '/teacher/courseAI',
				name: 'teacherCourseAI',
				meta: {
					title: '课程AI',
				},
				component: () => import('@/views/teacher/courseAI.vue'),	
			},
			// {	
			// 	path: '/teacher/student',
			// 	name: 'teacherStudent',
			// 	meta: {
			// 		title: '我的学生',
			// 	},
			// 	component: () => import('@/views/teacher/student.vue'),	
			// },
			{
				path: '/teacher/student',
				name: 'teacherStudent',
				meta: {
					title: '我的学生',
				},
				redirect: {
					name: 'teacherStudentDevelopment'
				},
				component: () => import('@/views/teacher/student/index.vue'),
				children: [
					{
						path: '/teacher/student/development',
						name: 'teacherStudentDevelopment',
						meta: {
							title: '开发项目',
						},
						component: () => import('@/views/teacher/student/development.vue'),
					},
					{
						path: '/teacher/student/learn',
						name: 'teacherStudentLearn',
						meta: {
							title: '学习项目',
						},
						component: () => import('@/views/teacher/student/learn.vue'),
					},
				]
			},
			{
				path: '/teacher/personCenter',
				name: 'teacherPersonCenter',
				meta: {
					title: '账号信息',
				},
				component: () => import('@/views/teacher/personalCenter.vue'),	
			},
		]
	}
]
